package cn.zgliang.blog.dao;

import cn.zgliang.blog.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author 猪哥亮
 * @email 1030681978@qq.com
 * @date 2020/3/17 16:08
 * 描述：
 */
public interface UserRepository extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username,String password);
}
